<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- <img src="" alt="">
    <img src="" alt="">
    <img src="" alt="">
    <img src="" alt="">
    <img src="" alt="">
    <img src="" alt="">
    <img src="" alt="">
    <img src="" alt="">
    <img src="" alt="">
    <img src="" alt=""> -->
    <script src="./js_common/AllFunction.js"></script>
    <script>
    //   let imgDom=document.querySelectorAll('img');
    //   for(let i=0;i<imgDom.length;i++){
        ajax({
            url: 'http://phpclub.org.cn:8080/api/goods/lists', 
            type: 'get',
            data: {categoryId:6},
            contentType: 'application/json',
            dataType: 'json',
            success: function (response) { 
                // imgDom[i].src=response.data[0].goodsCover;
                // console.log(imgDom);
                console.log(response);
            }
        })
    //   }
    </script>
</body>

</html>